package com.rybbaby.tss.front.tssMemberTurnHistoryRecord.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @description 会员课时包
 *
 * @author 雷春琼
 *
 * @createDate 2017-08-10 上午12:04:35
 */
@Entity
@Table(name = "tss_member_turn_history_record")
@DynamicUpdate(true)
@DynamicInsert(true)
public class TssMemberTurnHistoryRecord implements Serializable {
	private static final long serialVersionUID = 4404895437401691384L;
	/** 主键 **/
	private String id;
	/** 会员Id **/
	private String memberId;
	/** 操作人 **/
	private String adminUserId ;
	/** 操作事项 **/
	private Integer handleMatter;
	/** 操作内容 **/
	private String HandleContent;
	/** 创建时间 **/
	private java.sql.Timestamp createTime;
	/** 版本 **/
	private Integer version;

	/**
	 * 方法: 取得主键
	 *
	 * @return java.lang.String 主键
	 */
	@Id
	@GeneratedValue(generator = "tss_member_turn_history_recordIDGenerator" , strategy = GenerationType.AUTO)
	@GenericGenerator(name = "tss_member_turn_history_recordIDGenerator" , strategy = "uuid")
	@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}

	/**
	 * 方法: 设置主键
	 *
	 * @param id 主键
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 方法: 取得会员Id
	 *
	 * @return java.lang.String 会员Id
	 */
	@Column(name = "memberId", nullable= true, length = 32)
	public String getMemberId() {
		return this.memberId;
	}

	/**
	 * 方法: 设置会员Id
	 *
	 * @param memberId 会员Id
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}


	/**
	 * 方法: 取得当前操作者Id
	 *
	 * @return java.lang.String 当前操作者Id
	 */
	@Column(name = "adminUserId", nullable= true, length = 32)
	public String getAdminUserId() {
		return this.adminUserId;
	}

	/**
	 * 方法: 设置当前操作者Id
	 *
	 * @param adminUserId 当前操作者Id
	 */
	public void setAdminUserId(String adminUserId) {
		this.adminUserId = adminUserId;
	}



	/**
	 * 方法: 取得创建时间
	 *
	 * @return java.sql.Timestamp 创建时间
	 */
	@Column(name = "createTime", nullable= true, length = 19)
	public java.sql.Timestamp getCreateTime() {
		return this.createTime;
	}

	/**
	 * 方法: 设置创建时间
	 *
	 * @param createTime 创建时间
	 */
	public void setCreateTime(java.sql.Timestamp createTime) {
		this.createTime = createTime;
	}

	/**
	 * 方法: 取得版本
	 *
	 * @return java.lang.Integer 版本
	 */
	@Version
	@Column(name = "version", nullable= true, length = 11)
	public Integer getVersion() {
		return this.version;
	}

	/**
	 * 方法: 设置版本
	 *
	 * @param version 版本
	 */
	public void setVersion(Integer version) {
		this.version = version;
	}

	@Column(name = "handleMatter", nullable= true, length = 11)
	public Integer getHandleMatter() {
		return handleMatter;
	}

	public void setHandleMatter(Integer handleMatter) {
		this.handleMatter = handleMatter;
	}
	@Column(name = "HandleContent", nullable= true, length = 100)
	public String getHandleContent() {
		return HandleContent;
	}

	public void setHandleContent(String handleContent) {
		HandleContent = handleContent;
	}
}